package com.elm.api.client;

import com.elm.common.pojo.Business;
import com.elm.common.pojo.Food;
import com.elm.common.pojo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("food-service")
public interface FoodClient {
    @GetMapping("/food/findByFoodId")
    Result<Food> findFoodByFoodId(@RequestParam Integer foodId);
    }

